package com.zsy.springframework.context.event;

import com.zsy.springframework.context.event.config.ApplicationEvent;

//事件广播器
public interface ApplicationEventMulticaster {

    void addApplicationListener(ApplicationListener<?> listener);

    void removeApplicationListener(ApplicationListener<?> listener);

    void multicastEvent(ApplicationEvent event);
}
